package games;

public class Coordinate {
	public int X;
	public int Y;
	
	public Coordinate(int x, int y) {
		this.setX(x);
		this.setY(y);
	}

	public int getX() {
		return X;
	}

	public void setX(int x) {
		this.X = x;
	}

	public int getY() {
		return Y;
	}

	public void setY(int y) {
		this.Y = y;
	}
	
	@Override
	public int hashCode() {
		return X*10 + Y;
	}
	
}
